var x = 3;
var y = 5;
console.log((Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)) <= 5));

x = 1;
y = 2;
console.log((Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)) <= 5));